package com.lizhaoshan.dao;

import com.lizhaoshan.pojo.SetMealDish;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.util.List;

/**
 * @program: reggie
 * @description: 套餐菜品关系数据库接口
 * @author: lamour
 * @create: 2022-05-13 20:49
 **/
@Mapper
public interface SetMealDishDao {
    int insertSetMealDish(@Param("setMealDishList") List<SetMealDish> setMealDishList);

    int deleteBySetMealId(String id);

    List<SetMealDish> selectBySetMealId(String setMealId);

    int countBySetMealId(String id);
}
